Get All Prediction Files
AutomatR.Nanonets.Activities.GetAllPredictionFiles
The "Get All Prediction Files" activity in AutomatR is part of the Nanonets OCR Predict activities package, allowing you to perform OCR prediction on an image using the Nanonets OCR model. This activity retrieves detailed information about the prediction files generated by the specified OCR model within a specified date range.
Properties
Name | Description |
---|---|
Input | |
Model ID | Specifies the ID of the OCR model to use for prediction. String variables containing the model ID. |
Start Date | Specifies the start date for retrieving prediction files in DD-MM-YYYY format. DateTime variables containing the start date. |
End Date | Specifies the end date for retrieving prediction files in DD-MM-YYYY format. DateTime variables containing the end date. |
Misc | |
Display Name | Provides a customizable name for the activity displayed in the workflow. The display name enhances clarity and organization within the automation project. String variables containing the desired display name. |
Optional | |
Delay | Specifies the amount of time (in seconds) to wait before executing the "Get All Prediction Files" activity. This can be useful for handling synchronization issues. Integer variables containing the delay duration. Ex.: If the amount of time is 1000 milliseconds or 1 sec, i.e., 1. |
Output | |
Response | Outputs the detailed response generated by the OCR model based on the provided image. The result is provided in the form of a class (GetAllPredictionFilesProperties ) containing information about the prediction files. Variables of type class to store the response details. |
How to use:
- Drag and drop the "Get All Prediction Files" activity onto the workflow.
- Configure the properties by specifying the model ID, start date, and end date for retrieving prediction files.
- Optionally, configure the delay.
- Execute the workflow to perform OCR prediction and retrieve detailed information about the prediction files.
Example: Consider an example where the "Get All Prediction Files" activity is used to retrieve prediction files generated by an OCR model:
Get All Prediction Files:
Model ID: "your_model_id"
Start Date: 01-01-2023
End Date: 31-01-2023
Delay: 3
Response: predictionFilesDetails
In this example, the activity retrieves detailed information about prediction files generated by the OCR model with a delay of 3 seconds. The response details are stored in the variable "predictionFilesDetails" for further handling in the workflow.